﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="WebSite.cn.index" %>

<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="NewBulletin.ascx" TagName="NewBulletin" TagPrefix="uc2" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
  <link href="style.css" rel="stylesheet" type="text/css" />

  <style type="text/css">

#divPopWindow{
_background: url(images/bulltin_1.png) no-repeat !important;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=noscale, src="images/bulltin_1.png");
background:none;
width:800px; height:550px;
}
</style>

  <script type="text/javascript">
  function endcall(){var s=function(){__flash__removeCallback=function(i,n){if(i)i[n]=null;};window.setTimeout(s,10);};s();}
  window.onbeforeunload = endcall;</script>

<META name="GENERATOR" content="MSHTML 9.00.8112.16441">

</HEAD>
<BODY>
   <div style=" width:100%" align="center">
	<uc1:head ID="head_1" runat="server" />
    </div>

<table border="0" cellSpacing="0" cellPadding="0" width="999" align="center" height="300" style="margin-top:5px">
  <tbody>
  <tr>


       <td vAlign="top" width="308" align="left">
      <table style="margin-top: 15px;" border="0" cellSpacing="0" cellPadding="0" 
      width="248px" align="center">
        <tbody>
        <tr>
          <td align="left"><A href="hotpro.aspx?sid=3"><IMG alt="" src="images/pinpaititle.gif" width="308px"></a></td></tr>
        <tr>
          <td height="248" style="background-color:#FFF;"  >
            <table border="0" cellSpacing="0" cellPadding="0" width="100%">
              <tbody>
              <tr>
                <td  align="center">

                <embed id="comanymovie" src="http://player.youku.com/player.php/sid/XNDMwODIwMTc2/v.swf" allowFullScreen="true" quality="high" width="298" height="238" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>

                </td>
                </tr>
                </tbody>
                </table>
                </td>
                </tr></tbody></table></td>

                <td style="width:10px"></td>
     <!-- --------------------------------------------------------------------------------------------- -->
        <td vAlign="top" width="460" align="left">
      <table style="margin-top: 15px;" border="0" cellSpacing="0" cellPadding="0"  width="460px" align="center">
        <tbody>
        <tr>
          <td align="left"><a href="hotpro.aspx?sid=3"><img alt="" src="images/producttitle.gif" width="460px"/></a></td></tr>
        <tr>
          <td height="248" width="460" colSpan="2" style="background-color:#fff;">
            <table border="0" cellSpacing="0" cellPadding="0" width="100%">
              <tbody>
              <tr>
                <td><a onmouseup="ISL_StopUp_1()" class="LeftBotton"  onmouseout="ISL_StopUp_1()" onmousedown="ISL_GoUp_1()" href="javascript:void(0);" 
                  target="_self"><img border="0" src="pic/i_l.jpg"  width="9" height="18"></a></td>
                <td height="238" width="440">
<SCRIPT language="javascript">
<!--
    //图片滚动列表 mengjia 070927
    var Speed_1 = 40; //速度(毫秒)
    var Space_1 = 28; //每次移动(px)
    var PageWidth_1 = 430 * 1; //翻页宽度
    var interval_1 = 5000; //翻页间隔
    var fill_1 = 0; //整体移位
    var MoveLock_1 = false;
    var MoveTimeObj_1;
    var MoveWay_1 = "right";
    var Comp_1 = 0;
    var AutoPlayObj_1 = null;
    function GetObj(objName) { if (document.getElementById) { return eval('document.getElementById("' + objName + '")') } else { return eval('document.all.' + objName) } }
    function AutoPlay_1() { clearInterval(AutoPlayObj_1); AutoPlayObj_1 = setInterval('ISL_GoDown_1();ISL_StopDown_1();', interval_1) }
    function ISL_GoUp_1() { if (MoveLock_1) return; clearInterval(AutoPlayObj_1); MoveLock_1 = true; MoveWay_1 = "left"; MoveTimeObj_1 = setInterval('ISL_ScrUp_1();', Speed_1); }
    function ISL_StopUp_1() {
        if (MoveWay_1 == "right") { return }; clearInterval(MoveTimeObj_1); if ((GetObj('ISL_Cont_1').scrollLeft - fill_1) % PageWidth_1 != 0) { Comp_1 = fill_1 - (GetObj('ISL_Cont_1').scrollLeft % PageWidth_1); CompScr_1() } else { MoveLock_1 = false }
        AutoPlay_1()
    }
    function ISL_ScrUp_1() {
        if (GetObj('ISL_Cont_1').scrollLeft <= 0) { GetObj('ISL_Cont_1').scrollLeft = GetObj('ISL_Cont_1').scrollLeft + GetObj('List1_1').offsetWidth }
        GetObj('ISL_Cont_1').scrollLeft -= Space_1
    }
    function ISL_GoDown_1() { clearInterval(MoveTimeObj_1); if (MoveLock_1) return; clearInterval(AutoPlayObj_1); MoveLock_1 = true; MoveWay_1 = "right"; ISL_ScrDown_1(); MoveTimeObj_1 = setInterval('ISL_ScrDown_1()', Speed_1) }
    function ISL_StopDown_1() {
        if (MoveWay_1 == "left") { return }; clearInterval(MoveTimeObj_1); if (GetObj('ISL_Cont_1').scrollLeft % PageWidth_1 - (fill_1 >= 0 ? fill_1 : fill_1 + 1) != 0) { Comp_1 = PageWidth_1 - GetObj('ISL_Cont_1').scrollLeft % PageWidth_1 + fill_1; CompScr_1() } else { MoveLock_1 = false }
        AutoPlay_1()
    }
    function ISL_ScrDown_1() {
        if (GetObj('ISL_Cont_1').scrollLeft >= GetObj('List1_1').scrollWidth) { GetObj('ISL_Cont_1').scrollLeft = GetObj('ISL_Cont_1').scrollLeft - GetObj('List1_1').scrollWidth }
        GetObj('ISL_Cont_1').scrollLeft += Space_1
    }
    function CompScr_1() {
        if (Comp_1 == 0) { MoveLock_1 = false; return }
        var num, TempSpeed = Speed_1, TempSpace = Space_1; if (Math.abs(Comp_1) < PageWidth_1 / 2) { TempSpace = Math.round(Math.abs(Comp_1 / Space_1)); if (TempSpace < 1) { TempSpace = 1 } }
        if (Comp_1 < 0) {
            if (Comp_1 < -TempSpace) { Comp_1 += TempSpace; num = TempSpace } else { num = -Comp_1; Comp_1 = 0 }
            GetObj('ISL_Cont_1').scrollLeft -= num; setTimeout('CompScr_1()', TempSpeed)
        } else {
            if (Comp_1 > TempSpace) { Comp_1 -= TempSpace; num = TempSpace } else { num = Comp_1; Comp_1 = 0 }
            GetObj('ISL_Cont_1').scrollLeft += num; setTimeout('CompScr_1()', TempSpeed)
        }
    }
    function picrun_ini() {
        GetObj("List2_1").innerHTML = GetObj("List1_1").innerHTML;
        GetObj('ISL_Cont_1').scrollLeft = fill_1 >= 0 ? fill_1 : GetObj('List1_1').scrollWidth - Math.abs(fill_1);
        GetObj("ISL_Cont_1").onmouseover = function () { clearInterval(AutoPlayObj_1) }
        GetObj("ISL_Cont_1").onmouseout = function () { AutoPlay_1() }
        AutoPlay_1();
    }
    //产品展示滚动图片结束
//-->
</SCRIPT>
<!-- picrotate_left start  -->
                  <div style="margin-left: 10px;" class="blk_18">
                  <div id="ISL_Cont_1" class="pcont">
                  <div class="ScrCont">
                  <div style="float: left;" id="List1_1">
                   
                   <% =sbCardList.ToString() %>

                      </div>
                  <div style="float: left;" id="List2_1"></div></div></div>
<SCRIPT type="text/javascript">
<!--
    picrun_ini();
//-->
</SCRIPT>
                  </div><!-- picrotate_left end --></td>

                <td align="right"><A onmouseup="ISL_StopDown_1()" class="RightBotton" 
                  onmouseout="ISL_StopDown_1()" onmousedown="ISL_GoDown_1()" 
                  href="javascript:void(0);" target="_self"><IMG border="0" src="pic/i_r.jpg" 
                  width="9" height="18"></a></td></tr>
     </tbody></table></td>
     </tr></tbody></table>    
     </td>

        <td style="width:10px"></td>
     <!-- --------------------------------------------------------------------------------------------- -->
    <td  valign="top" width="214" align="left">
      <table style="margin-top: 15px;" border="0" cellSpacing="0" cellPadding="0"  width="214" align="center" height="248">
        <tbody>

       <tr>   <td align="left"><a href="news.aspx"><img alt="" src="images/zxzx.gif" width="214px"/></a></td></tr>
        <tr>
          <td height="40" style=" background:#FFF;">
            <ul id="myTab2">
              <li class="active" onmouseover="nTabs(this,0);"><a> <div class="t2"></div></a></li>
              <li class="normal" onmouseover="nTabs(this,1);"><a> <div class="t1"></div></a></li>
              <li class="normal" onmouseover="nTabs(this,2);"><a> <div class="t3"></div></a></li>
            </ul></td></tr>
        <tr>
          <td height="208" valign="top" align="left" style=" background:#FFF;">
            <div id="myTab2_Content0">
            <div id="demo">
            <div id="indemo">
            <div id="demo1">
            <table border="0" cellSpacing="0" cellPadding="0" width="100%" 
            align="center">
              <tbody>   
               <%= sbFieldsNews.ToString()%>
             </tbody></table></div>
            <div id="demo2"></div></div></div>

            </div>
            <div style="display: none;" id="myTab2_Content1">
            <div id="demo_1">
            <div id="indemo_1">
            <div id="demo1_1">
            <table border="0" cellSpacing="0" cellPadding="0" width="100%"   align="center">
              <tbody>
               <%= sbCrabCulture.ToString()%>
            </tbody></table></div>
            <div id="demo2_1"></div></div></div>

            </div>
            <div style="display: none;" id="myTab2_Content2">
            <div id="demo_2">
            <div id="indemo_2">
            <div id="demo1_2">
            <table border="0" cellSpacing="0" cellPadding="0" width="100%" 
            align="center">
              <tbody>
               <%= sbCrabKnowledge.ToString()%>
              
            </tbody></table></div>
            <div id="demo2_2"></div></div></div>
            </div></td></tr></tbody></table></td>         
     
     </tr>

  </tbody></table>
 <center>
   <div style="background-image:url('images/pinpaibg.jpg'); width:1000px; height:134px;"></div>
  </center>

 <uc3:bottom ID="bottom_1" runat="server" />


  <div style="display:none">
  <div id="divPopWindow"  style="position:absolute;z-index:5555;display:block; left:280px; top:100px; " >

  <center>
  
  <div style="width:80%; padding-right:20px; padding-top:70px; color:White; text-align:left; font-family:微软雅黑,宋体,黑体; font-size:14px; letter-spacing:2px; line-height:20px;">
       
  </div>
  </center>
  </div>
  
    <div  id="divPopWindowClose"  style="position:absolute;display:block; z-index:5556; left:1030px; top:110px;  ">
   <a style="cursor:hand" onclick="closePop()"  href="#" ><img  src="images/bulletin_close.gif" alt="关闭" /></a>
  </div>

    </div>
              <script type="text/javascript" src="/js/YlFloat.js"></script>
      <script language="javascript" type="text/javascript">

   if ( <%=IsHave%>  == true) {
              document.getElementById("divPopWindow").style.display = "block";
              document.getElementById("divPopWindowClose").style.display = "block";
          } else
          {
            document.getElementById("divPopWindow").style.display = "none";
            document.getElementById("divPopWindowClose").style.display = "none";
          }

      function closePop() {

              document.getElementById("divPopWindow").style.display = "none";
               document.getElementById("divPopWindowClose").style.display = "none";
      }

          function openPop() {

              document.getElementById("divPopWindow").style.display = "block";
               document.getElementById("divPopWindowClose").style.display = "block";
      }


   $(document).ready(function(){
	 
	 $("#adl").jFloat({
      position:"left",
      top:200,
      height:174,
      width:180,
      left:2
    })
    });

  </script>

<div id="adl" style="text-align:center;border:0"><a href="http://www.ychp.cn/cn/news_01.aspx?tid=4&nid=197" target="_blank">
<img src="/cn/images/gonggao.gif" alt="公告" />
</div>




</BODY></html>
